Mollie\WooCommerce\Shared\Data C

Total Complexity 115
Dependencies 13
Dependents 21
Total lines 634
Lines of code 387
Logical lines of code 244
Comment lines 197
Methods 38
Properties 8

Methods 38

Method Rating Maintainability Complexity Lines of code
getUserMollieCustomerId()
A
43 13 42
getApiPaymentMethods()
A
44 10 41
getAllAvailablePaymentMethods()
A
46 9 37
isWcSubscription()
S
63 9 9
getMethodIssuers()
S
55 7 17
addRecurringPaymentMethods()
S
56 6 19
getMethodWithIssuersById()
S
57 5 17
wooCommerceFiltersForCheckout()
S
57 5 15
getFilters()
S
53 4 22
getRegularPaymentMethods()
S
57 4 16
getCachedMethodById()
S
60 4 14
setUserMollieCustomerId()
S
60 3 13
getAllPaymentMethods()
S
63 3 11
getPaymentMethod()
S
62 3 11
getRecurringPaymentMethods()
S
67 3 7
getTransientId()
S
63 2 10
getPayment()
S
65 2 8
isValidApiKeyProvided()
S
71 2 5
setUserMollieCustomerIdAtSubscription()
S
67 2 8
getActiveMolliePaymentMode()
S
74 1 4
restoreOrderStock()
S
81 1 3
getOrderCurrency()
S
81 1 3
formatCurrencyValue()
S
79 1 3
isSubscription()
S
74 1 4
__construct()
S
69 1 7
getPluginId()
S
82 1 3
getAmountValue()
S
79 1 3
getCurrentLocale()
S
79 1 3
getPaymentLocale()
S
81 1 3
processAdminOptions()
S
81 1 3
processSettings()
S
81 1 3
getApiKey()
S
80 1 3
isTestModeEnabled()
S
81 1 3
getGlobalSettingsUrl()
S
81 1 3
isSubscriptionPluginActive()
S
75 1 4
isBlockPluginActive()
S
80 1 3
pluginPath()
S
82 1 3
mollieApplePayBlockDataCart()
S
75 1 4